Copyright 1984-1998 FileMaker, Inc. HBAM2016AUG95 Pro 3.0 alis@ alisA alisA VDEFA HBAM3016AUG95@ nknown an unexpected TCP/IP error ( AppleTalk is not enabled ( TCP/IP couldn't be initialized (:the manually set TCP/IP address is configured improperly (Jthe TCP/IP address is already in use or an address could not be obtained ( ; This file is created and used by FileMaker Pro for TCP/IP access. ; It should contain one IP address or host name per line. ; Lines starting with a semicolon are ignored. FileMaker Hosts Local Hosts Specify Host...:FileMaker host name is limited to 32 1st Quarter 2nd Quarter 3rd Quarter 4th Quarter 10/15/99 CPORTNAMES CR CALC CVERSION GADDCR GADVANCEDFLOWCONTROL d GDATABITS GERRORCODE GFLOWCONTROL GNUMBER GPARITY GPORTISSUSPENDED i GPORTNAME GPREVIOUSTEXT GSENDSEPARATOR GSPEED W GSTOPBITS GTEMPRESULTRECEIVED GTERMINALTEXT GTEXT TO SEND MESRECEIVED gNumberB cVersionB |("Serial-Version" Serial-Version baud=57600 hgjhjgggj236 -------- 123asd yyyyyt5665 stop=10 data=8 parity=none flowControl=XOnXOff -------- Terminal Emulation Preferences MenuB gErrorCodeB cPortNamesB |("Serial-GetPortNames" Serial-GetPortNames gSpeedB gPreviousTextB gTerminalTextB mesReceivedB ]A gPortNameB gTempResultReceivedB _A gStopBitsB `A gDataBitsB gParityB trueB gFlowControlB gAdvancedFlowControlB gText to sendB gSendSeparator gAddCRB CR calcB g = "Yes" |("Serial-ToASCII" "0x0D") Serial-ToASCII 0x0D| gPortIsSuspendedB Terminal EmulationB 1999 Troi Automatisering Terminal Emulation OSDo this once to create the settings appropiate for your computer and serial port... Start Terminal Emulation To Main Menu R'This file emulates a Terminal program. T9Then start the terminal emulation with the serial port... Terminal Menu Set Port Preferences OSDo this once to create the settings appropiate for your computer and serial port... Start Terminal Emulation To Main Menu R'This file emulates a Terminal program. T9Then start the terminal emulation with the serial port... Terminal Menu Set Port Preferences PreferencesB returned error code Terminal Window A}You can send data to the serial port. Data received will be put into the Terminal window with the help of the Dispatch Script =Type here the text you want to send and press the send button Add RETURN to send commands (re)start Terminal Emulation To Main Menu 'This file emulates a Terminal program. Terminal Menu Set Port Preferences A#Terminal Emulation Emulation Window Clear Field toggle receive status: 1999 Troi Automatisering You can now temporarily suspend receiving of data. Ideal for devices that send a continuous stream of data, like a weighing scale. sdsdd To Main Menu To Terminal Menu To Preferences ----- General ------ %Check for Presence of Serial plug-in ----- Dispatch Scripting ------ *Open Serial Port And Prepare for Receiving Open Serial Port Set DispatchScript via Name ! Set DispatchScript via Key Code Reset Dispatcher Script "----- Sending and Receiving ------ Send Text Process Data Received , Receive Data in global gTempResultReceived %----- Close, Suspend and Resume ----- Close Serial Port "$Toggle suspend/resume receiving data Suspend Receiving data speed port name stop bits data bits parity standard flow control advanced flow control "A-TIP Only use advanced control if you need to. flow control Set Serial Port Preferences send separator 1999 Troi Automatisering Terminal Emulation Start Terminal Emulation To Main Menu ='This file emulates a Terminal program. Terminal Menu Set Port Preferences Add RETURN to send commands ='This file emulates a Terminal program. Terminal Menu Set Port Preferences Add RETURN to send commands Helvetica Geneva Arial Times New Roman Monaco Courier Times Futura Courier New Palatino Minion Web New York AppleGaramond Bk AppleGaramond Lt Wingdings Chicago Open Serial Port Open the serial portB" ] = "" Open the serial portB" ] = "" To Main Menu A*Check if this was called by the plug-in...B=You need this only when you use dispatch scripting via a KEY.CP |("Serial-DataWasReceived" Serial-DataWasReceived ----- Dispatch Scripting ------ A%Check for Presence of Serial plug-in Cancel First select a valid port name.D |("Serial-Open" ] & "|" & W & " " & _ & " " & ` & " " & a & " "& Serial-Open <> 0 = "$$-97" $$-97 Cancelm mPort is in useHw Cancelm mAn error occurred Set all globals |("Troi-Set Default Separator" "|") Troi-Set Default Separator -------- -------- A Open file ) = 2 ----- General ------ ----- Misc ------ BeepBeep Close Serial Port Open the serial portB< |("Serial-Close" Serial-Close A4Important: ALWAYS check if the plug-in is available!B)Check if this is FileMaker 4.0 or higher.CQ 1)) < 4 Canceld This file requires FileMaker 4.0 or higherE.Check if the Troi Serial Plug-in is available.F| |("Serial-Version" "") 14 ) <> "Serial Plug-in" Serial-Version Serial Plug-in ) = 1 Canceld The Serial Plug-in not found. Please put The Serial Plug-in into the Extensions folder inside the FileMaker folder. Also enable all the plug-ins under the application preferences. Canceld The Serial Plug-in not found. Please put the this Plug-in into the SYSTEM directory inside the FileMaker directory. Also enable all the plug-ins under the application preferences.JACheck if the correct version of Troi Serial Plug-in is available.Kq |("Serial-Version" "") 1 ) <> "2" Serial-Version Canceld This sample file demonstrates features of version 2.0 of the Serial Plug-in. Please install version 2.0 (or higher) of the plug-in first. To Preferences Set DispatchScript via Name ANTell the plug-in the name of the script that is to be used when data comes in.B |("Serial-SetDispatchScript" ) & "| scriptname=Process Data Received") Serial-SetDispatchScript "| scriptname=Process Data Received |CCTIP: See the other dispatch script variants for more possibilities! Process Data Received AKWhen data is coming in this script will be triggered by the serial plug-in.B7DO NOT RENAME IT if you use dispatch scripting by name.CR |("Serial-RestoreSituation" Serial-RestoreSituation A, Receive Data in global gTempResultReceived |("Serial-Receive" Serial-Receive 2 ) = "$$" ^ = "$$-28" $$-28 Cancel Open the port firstE- ^ = "$$-207" $$-207 Cancel Buffer overflow error.Gx Cancel An error occurred! Reset Dispatcher Script A*Open Serial Port And Prepare for Receiving Open the serial portBq 1)) = 4 ) <> 1 To Terminal Menu A Send Text |("Serial-SetDispatchScript" "") Serial-SetDispatchScript A$Toggle suspend/resume receiving data A_This script will toggle between suspending and resuming receiving data from the specified port.B$ i ="OK" "Suspended" SuspendedD A! Set DispatchScript via Key Code ARTell the plug-in the key code of the script that is to be used when data comes in.B~ |("Serial-SetDispatchScript" ) & "| scriptkey=1") Serial-SetDispatchScript | scriptkey=1 A( Set DispatchScript via Name waitfor CR AOTell the plug-in the name of the script that is to be used when data comes in. |("Serial-Send" ] & "|" & Serial-Send ="$$-28" $$-28 Open the port first...Fw Cancelm An Error Occured.G' Cancelm An Error Occured. Could not open the port.I' A)----- Dispatch Scripting variants ------ A0 Set DispatchScript via Name waitfor NO CARRIER AOTell the plug-in the name of the script that is to be used when data comes in. B/This script is to be trigged only after the ...C!...string "NO CARRIER" comes in.D |("Serial-SetDispatchScript" ) &"|" & "scriptname=" & "Process Data Received" & "|" & "waitformatch=NO CARRIER") Serial-SetDispatchScript scriptname= Process Data Received waitformatch=NO CARRIER !A* Set DispatchScript via Name waitfor BUSY AOTell the plug-in the name of the script that is to be used when data comes in. B/This script is to be trigged only after the ...C!...string "NO CARRIER" comes in. B@This script is to be trigged only after a CR character comes in.C |("Serial-SetDispatchScript" ) &"|" & "scriptname=" & "Process Data Received" & "|" & "waitformatch=" & Serial-SetDispatchScript scriptname= Process Data Received waitformatch= "A"----- Sending and Receiving ------ #A* Set DispatchScript via Name waitfor CRLF AOTell the plug-in the name of the script that is to be used when data comes in. B+This script is to be trigged only after ...C7... a CR character followed by a LF character comes in.D2You can specify your own string of characters too. |("Serial-SetDispatchScript" ) &"|" & "scriptname=" & "Process Data Received" & "|" & "waitformatch=" & |("Serial-ToASCII" "OxOD|Ox0A") ) Serial-SetDispatchScript scriptname= Process Data Received waitformatch= Serial-ToASCII OxOD|Ox0A| Suspend Receiving data AHThis script will temporarly stop receiving data from the specified port. |("Serial-SetDispatchScript" ) &"|" & "scriptname=" & "Process Data Received" & "|" & "waitformatch=BUSY") Serial-SetDispatchScript scriptname= Process Data Received waitformatch=BUSY Resume Receiving data A?This script will resume receiving data from the specified port.B+The data buffer is emptied before resuming!C[ |("Serial-Control" ]& "| resume") Serial-Control | resume 'A%----- Close, Suspend and Resume ----- You can resume the it later...C] |("Serial-Control" ]& "| suspend") Serial-Control | suspend k]k]s o|g]{ k]k]w Nv_:5 g=g<_;w o\o}5 k=JW1 o\g{1 g=k]5 NvkZ2 s}g]k\ g=g